package cn.com.generaldata.os.importpojo;

import java.util.Date;

import com.sun.xml.internal.bind.CycleRecoverable;

/**
 * 报表类型实体
 */
public class ReportTypeIndicator implements java.io.Serializable, CycleRecoverable {
	private static final long serialVersionUID = 5454155825314635342L;

	private Integer id;
	private String reportTypeId;
	private Integer indicatorId;
	private Integer row;
	private Integer theColumn;
	private Date createTime;
	private Date lastUpdate;

	public ReportTypeIndicator() {
		super();
	}

	public ReportTypeIndicator(Integer id, String reportTypeId, Integer indicatorId, Integer row, Integer theColumn,
			Date createTime, Date lastUpdate) {
		super();
		this.id = id;
		this.reportTypeId = reportTypeId;
		this.indicatorId = indicatorId;
		this.row = row;
		this.theColumn = theColumn;
		this.createTime = createTime;
		this.lastUpdate = lastUpdate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getReportTypeId() {
		return reportTypeId;
	}

	public void setReportTypeId(String reportTypeId) {
		this.reportTypeId = reportTypeId;
	}

	public Integer getIndicatorId() {
		return indicatorId;
	}

	public void setIndicatorId(Integer indicatorId) {
		this.indicatorId = indicatorId;
	}

	public Integer getRow() {
		return row;
	}

	public void setRow(Integer row) {
		this.row = row;
	}

	public Integer getTheColumn() {
		return theColumn;
	}

	public void setTheColumn(Integer theColumn) {
		this.theColumn = theColumn;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastUpdate() {
		return lastUpdate;
	}

	public void setLastUpdate(Date lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

	/**
	 * 解决CXF循环引用问题.
	 * 
	 * @param arg0
	 * @return
	 */
	@Override
	public Object onCycleDetected(Context arg0) {
		ReportTypeIndicator temp = new ReportTypeIndicator();
		temp.setId(id);
		return temp;
	}

}
